package com.bootdo.coach.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.bootdo.coach.domain.TabCoach;
import com.bootdo.coach.vo.TabCoachVo;
import com.bootdo.common.utils.Query;


public interface TabCoachService {
	
    int deleteByPrimaryKey(Long coachId);

    int insert(TabCoach record);

    int insertSelective(TabCoach record);

    TabCoach selectByPrimaryKey(Long coachId);

    int updateByPrimaryKeySelective(TabCoach record);

    int updateByPrimaryKey(TabCoach record);

	TabCoach findCoachByAccount(String account);

	List<Map<String, Object>> findCoachList(Map<String, Object> paramMap);

	void updateAgentId(Long agentId, Long higherAgentId);

	boolean exitCoachByAgentId(Long agentId);

	List<TabCoachVo> list(Map<String, Object> params);

	int count(Map<String, Object> params);

	boolean exitCoachName(Map<String, Object> params);

	List<TabCoach> findCoachList(Long agentId);

	Set<Long> findCoachIdList(Set<Long> agentIdList);
}
